#include <stdio.h>

int main()
{
    int a, b;
    int num;
    while(1){
        num = scanf("%d%d", &a,&b);
        if(num == -1)
            break;
            printf("%d\n", a + b);

    }
    return 0;
}
